package com.xxxx.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xxxx.pojo.Department;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author chao
 * @since 2022-09-26
 */
public interface DepartmentMapper extends BaseMapper<Department> {



    List<Department> getAllDepartmentList(@Param("parentId") Integer id);

    void addDep(Department department);

    void deleteDep(Department department);
}
